package com.lxl.securitypermission.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 绫小路
 * @Date 2020/12/31
 */

@AllArgsConstructor
@Data
public class SRole implements Serializable {

  private Integer id;

  /**
   * 角色名称
   */
  private String name;

  /**
   * 角色描述
   */
  private String description;

  /**
   * 状态：1有效、0无效
   */
  private Integer status;

  private Date createTime;

  private Date updateTime;

  private static final long serialVersionUID = 1L;

  public SRole(String name, String description, Integer status, Date createTime, Date updateTime) {
    this.name = name;
    this.description = description;
    this.status = status;
    this.createTime = createTime;
    this.updateTime = updateTime;
  }
}